package com.max.xihu.collection;

import org.apache.commons.lang3.BooleanUtils;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author: Max
 * @Date: 2020-04-20 20:38
 * @Description:
 */
public class ValueTest {

    public static void main(String[] args) {

        Map<Integer,Boolean> map = new HashMap<>();
        map.put(1,false);
        test(map,1);
        System.out.println(map);
    }


    private static void test(Map<Integer,Boolean> map,Integer type){
        map.put(1,true);
        if (map.get(1)){
            test(map,2);
        }

    }
}
